package com.cn.zy.zheda.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 开启定时任务
 *
 */
@SpringBootApplication
@MapperScan("com.cn.zy.zheda.demo.dao")
@EnableScheduling
public class ZyApplication {

	public static void main(String[] args) {
		SpringApplication.run(ZyApplication.class, args);
	}

}

